package com.tang.qzzp.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author thq
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("job")
public class Job {
    private String jobId;
    private String jobName;
    private String jobDescription;
    private String jobNeeding;
    private String companyId;
    @TableField(value = "job_create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "job_update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(value = "job_is_deleted")
    @TableLogic
    private Integer deleted;
    @TableField(value = "job_version")
    private Integer version;
    private Integer jobTag;
}
